home *** CD-ROM | disk | FTP | other *** search
/ Monster Media 1996 #15 / Monster Media Number 15 (Monster Media)(July 1996).ISO / virus / tbavx701.zip / INSTALLX.BAT next >
DOS Batch File  |  1994-09-03  |  982b  |  44 lines

  1. @echo off
  2. cls
  3. if %1X==X goto error1
  4. if %1X==0X goto ok
  5. if %1X==1X goto ok
  6. if %1X==2X goto ok
  7. if %1X==3X goto ok
  8. goto error1
  9. :ok
  10. if %2X==X goto error2
  11. copy tbavx.doc %2
  12. copy tbdrive%1.exe %2\tbdriver.exe
  13. copy tbcheck%1.exe %2\tbcheck.exe
  14. copy tbdisk%1.exe %2\tbdisk.exe
  15. copy tbmem%1.exe %2\tbmem.exe
  16. copy tbscanx%1.exe %2\tbscanx.exe
  17. %2\tbsetup %2
  18. cd\
  19. cls
  20. goto end
  21.  
  22. :error1
  23. echo Error: No version entered!
  24. echo.
  25. echo Start again and enter a 0, 1 2 or 3 for the wanted version update.
  26. echo.
  27. echo Example: if you want your version in C:\TBAV updated with version 3, enter
  28. echo INSTALLX 3 C:\TBAV [enter]
  29. echo.
  30. goto end
  31.  
  32. :error2
  33. echo Error: No destination path specified!
  34. echo.
  35. echo You have to specify the destination path for the TBAV utilities!
  36. echo Even if the utilities are already in the destination path.
  37. echo.
  38. echo Example:
  39. echo If the TBAV utilities are or should be copied to C:\TBAV, please type:
  40. echo INSTALL C:\TBAV
  41. echo.
  42.  
  43. :end
  44.